package com.hehe.controller;


import com.hehe.Dao.Test_Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping(value="/test")
public class test_a {

    @Autowired
    private Test_Mapper test_mapper;
    

    @GetMapping(value="" )
    @ResponseBody
    public String get_All(Model model){
        System.out.println("访问 test_a 啦 ~ !!!");
        return " <h1> test_a 测试成功  ResponseBody  ResponseBody  ^_^  </h1><h1> test_a 测试成功  ^_^  </h1><h1> test_a 测试成功  ^_^  </h1>";
    }


}




